using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class cube : Creation
{
    void Start()
    {
        health = 1000;
    }
    public override void TakeDamage(float damage)
    {
        health -= damage;
        if (health <= 0)
            Destroy(gameObject);
    }

}
